/*
    Document   : dop
    Created on : 4 mai 2011, 21:23:42
    Author     : chardo_l
    Description:
        Main CSS file. Basically defines all but the colors and the backgrounds.
        "Ne pique pas les yeux,
        Dop, dop, dop,
        Evite les noeuds,
        Dop, dop, dop, dop !""
*/

/* Global. */
* {
    font-family:                        Arial, sans-serif;
    margin:                             0px;
    padding:                            0px;
    border:                             0px;
    outline:                            0px;
    vertical-align:                     baseline;
}

html {
    display:                            block;
    width:                              100%;
    min-width:                          1120px;
    overflow-y:                         scroll;
    font-size:                          12px;
}

body {
    width:                              100%;
    min-width:                          1120px;
    padding:                            97px 0px 0px 0px;
}

a {
    text-decoration:                    underline;
}

.wrapper {
    width:                              960px;
    margin:                             auto;
}

/* Header */
#header {
    width:                              100%;
    min-width:                          1120px;
    height:                             97px;
    position:                           absolute;
    top:                                0;
    left:                               0;
    z-index:                            9999;
    font-weight:                        bold;
    font-size:                          11px;
}

#header ul {
    float:                              right;
}

#header li {
    display:                            inline;
}

#header ul, #header li {
    text-transform:                     uppercase;
    margin:                             0px;
    text-transform:                     uppercase;
    padding:                            16px 5px 8px 5px;
    -webkit-border-bottom-left-radius:  5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-bottomleft:      5px;
    -moz-border-radius-bottomright:     5px;
    border-bottom-left-radius:          5px;
    border-bottom-right-radius:         5px;
}

#logo {
    width:                              199px;
    height:                             53px;
    margin:                             23px 0px 0px 0px;
    float:                              left;
}

#logo h1, #logo h2 {
    text-indent:                        -9999px;
    width:                              199px;
    display:                            block;
    margin:                             0px;
}

#logo a {
    display:                            block;
    width:                              240px;
    height:                             53px;
}

.nav_actions {
    float:                              right;
    display:                            block;
    text-align:                         right;
}

.nav_links {
    clear:                              right;
    margin:                             24px 0px 0px 0px;
}

/* Description */
#description {
    float:                              left;
    clear:                              left;
    width:                              100%;
    height:                             87px;
    font-size:                          10px;
    min-width:                          1120px;
}

/** Description tables **/
#description table {
    border-right:                       0;
    clear:                              both;
    margin-bottom:                      10px;
    width:                              100%;
}

#description th {
    border:                             0;
    text-align:                         left;
    padding:                            4px;
}

#description th a {
    display:                            block;
    padding:                            2px 4px;
    text-decoration:                    none;
}

#description th a.asc:after {
}

#description th a.desc:after {
}

#description table tr td {
    padding:                            6px;
    text-align:                         left;
    vertical-align:                     top;
}

#description table tr:nth-child(2n) td {
}

#description table .altrow td {
}

#description td.actions {
    text-align:                         center;
    white-space:                        nowrap;
}

#description table td.actions a {
    margin:                             0px 6px;
    padding:                            2px 5px;
}

/* Content */
#content {
    float:                              left;
    clear:                              left;
    width:                              100%;
    min-width:                          1120px;
    padding:                            0px 0px 25px 0px;
}

#content h1 {
    display:                            block;
    font-size:                          24px;
    font-weight:                        bold;
    clear:                              both;
    -webkit-border-radius:              4px;
    -moz-border-radius:                 4px;
    border-radius:                      4px;
    margin-bottom:                     6px;
}

.section {
    float:                              left;
    clear:                              left;
    -webkit-border-radius:              4px;
    -moz-border-radius:                 4px;
    border-radius:                      4px;
    position:                           relative;
    padding:                            20px;
    width:                              100%;
    margin:                             30px 0px -10px 0px;
}

.section li {
    margin-left:                        30px;
}

.section p {
    margin:                             15px;
}

.section ul {
    margin:                             15px;
}

/** Tables **/
table {
    border-right:                       0;
    clear:                              both;
    margin-bottom:                      10px;
    width:                              100%;
}

th {
    border:                             0;
    text-align:                         left;
    padding:                            4px;
}

th a {
    display:                            block;
    padding:                            2px 4px;
    text-decoration:                    none;
}

th a.asc:after {
}

th a.desc:after {
}

table tr td {
    padding:                            6px;
    text-align:                         left;
    vertical-align:                     top;
}

table tr:nth-child(2n) td {
}

table .altrow td {
}

td.actions {
    text-align:                         center;
    white-space:                        nowrap;
}

table td.actions a {
    margin:                             0px 6px;
    padding:                            2px 5px;
}

/* CakePHP SQL log. */
.cake-sql-log table {
}

.cake-sql-log td {
    padding:                            4px 8px;
    text-align:                         left;
    font-family:                        Monaco, Consolas, "Courier New", monospaced;
}

.cake-sql-log caption {
}

/* Notices and Errors. */
.message {
    clear:                              both;
    font-size:                          140%;
    font-weight:                        bold;
    margin:                             0px 0px 16px 0px;
    padding:                            5px;
}

.error-message {
    clear:                              both;
    font-weight:                        bold;
}

.error {
    font-family:                        monospace;
    font-size:                          120%;
    line-height:                        140%;
    padding:                            13px;
    margin:                             16px 0px;
}

.error em {
    font-weight:                        normal;
    line-height:                        140%;
}

.notice {
    display:                            block;
    font-family:                        monospace;
    font-size:                          120%;
    line-height:                        140%;
    padding:                            13px;
    margin:                             16px 0px;
}

.success {
}

/* Footer */
#footer {
    float:                              left;
    clear:                              left;
    height:                             275px;
    width:                              100%;
}

#footer li {
    display:                            inline;
    color:                              #888888;
}

#footer ul, #footer li {
    margin:                             0px;
    text-transform:                     uppercase;
    padding:                            16px 5px 8px 5px;
    -webkit-border-bottom-left-radius:  5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-radius-bottomleft:      5px;
    -moz-border-radius-bottomright:     5px;
    border-bottom-left-radius:          5px;
    border-bottom-right-radius:         5px;
}

/* From CakePHP */
/** containers **/
div.form,
div.index,
div.view {
	float:right;
	width:76%;
	border-left:1px solid #666;
	padding:10px 2%;
}
div.actions {
	float:left;
	width:16%;
	padding:10px 1.5%;
}
div.actions h3 {
	padding-top:0;
	color:#777;
}

/** Paging **/
div.paging {
	background:#fff;
	color: #ccc;
	margin-top: 1em;
	clear:both;
}
div.paging span.disabled {
	color: #ddd;
	display: inline;
}
div.paging span.current {
	color: #c73e14;
}
div.paging span a {
}

/** Scaffold View **/
dl {
	line-height: 2em;
	margin: 0em 0em;
	width: 60%;
}
dl .altrow {
	background: #f4f4f4;
}
dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
	margin-left: 10em;
	margin-top: -2em;
	vertical-align: top;
}

/** Forms **/
form {
	clear: both;
	margin-right: 20px;
	padding: 0;
	width: 95%;
}
fieldset {
	border: 1px solid #ccc;
	margin-bottom: 1em;
	padding: 16px 20px;
}
fieldset legend {
	background:#fff;
	color: #e32;
	font-size: 160%;
	font-weight: bold;
}
fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 16px 10px;
}
fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	clear: both;
	margin-bottom: 1em;
	padding: .5em;
	vertical-align: text-top;
}
form .input {
	color: #444;
}
form .required {
	font-weight: bold;
}
form .required label:after {
	color: #e32;
	content: '*';
	display:inline;
}
form div.submit {
	border: 0;
	clear: both;
	margin-top: 10px;
}
label {
	display: block;
	font-size: 110%;
	margin-bottom:3px;
}
input, textarea {
	clear: both;
	font-size: 140%;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 1%;
	width:98%;
}
select {
	clear: both;
	font-size: 120%;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 120%;
	padding: 0 3px;
}
input[type=checkbox] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
}
div.checkbox label {
	display: inline;
}
input[type=radio] {
	float:left;
	width:auto;
	margin: 0 3px 7px 0;
}
div.radio label {
	margin: 0 0 6px 20px;
}
input[type=submit] {
	display: inline;
	font-size: 110%;
	width: auto;
}
form .submit input[type=submit] {
	background:#62af56;
	background: -webkit-gradient(linear, left top, left bottom, from(#a8ea9c), to(#62af56));
	background-image: -moz-linear-gradient(top, #a8ea9c, #62af56);
	border-color: #2d6324;
	color: #000;
	text-shadow: #8cee7c 0px 1px 0px;
}
form .submit input[type=submit]:hover {
	background:#4ca83d;
	background: -webkit-gradient(linear, left top, left bottom, from(#85e573), to(#4ca83d));
	background-image: -moz-linear-gradient(top, #85e573, #4ca83d);
}

/**  Actions  **/
div.actions ul {
	margin: 0;
	padding: 0;
}
div.actions li {
	margin:0 0 0.5em 0;
	list-style-type: none;
	white-space: nowrap;
	padding: 0;
}
div.actions ul li a {
	font-weight: normal;
	display: block;
	clear: both;
}
div.actions ul li a:hover {
	text-decoration: underline;
}

input[type=submit],
div.actions ul li a,
td.actions a {
	font-weight:normal;
	padding: 4px 8px;
	background:#e6e49f;
	background: -webkit-gradient(linear, left top, left bottom, from(#f1f1d4), to(#e6e49f));
	background-image: -moz-linear-gradient(top, #f1f1d4, #e6e49f);
	color:#333;
	border:1px solid #aaac62;
	-webkit-border-radius:8px;
	-moz-border-radius:8px;
	border-radius:8px;
	text-decoration:none;
	text-shadow: #fff 0px 1px 0px;
	min-width: 0;
}
input[type=submit]:hover,
div.actions ul li a:hover,
td.actions a:hover {
	background: #f0f09a;
	background: -webkit-gradient(linear, left top, left bottom, from(#f7f7e1), to(#eeeca9));
}

/** Related **/
div.related {
	clear: both;
	display: block;
}

/** Debugging **/
pre {
	color: #000;
	background: #f0f0f0;
	padding: 1em;
}
pre.cake-debug {
	background: #ffcc00;
	font-size: 120%;
	line-height: 140%;
	margin-top: 1em;
	overflow: auto;
	position: relative;
}
div.cake-stack-trace {
	background: #fff;
	color: #333;
	margin: 0px;
	padding: 6px;
	font-size: 120%;
	line-height: 140%;
	overflow: auto;
	position: relative;
}
div.cake-code-dump pre {
	position: relative;
	overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
	color: #000;
	background-color: #F0F0F0;
	margin: 0px;
	padding: 1em;
	overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
	clear: both;
	font-size: 12px;
	line-height: 15px;
	margin: 4px 2px;
	padding: 4px;
	overflow: auto;
}
div.cake-code-dump span.code-highlight {
	background-color: #ff0;
	padding: 4px;
}
div.code-coverage-results div.code-line {
	padding-left:5px;
	display:block;
	margin-left:10px;
}
div.code-coverage-results div.uncovered span.content {
	background:#ecc;
}
div.code-coverage-results div.covered span.content {
	background:#cec;
}
div.code-coverage-results div.ignored span.content {
	color:#aaa;
}
div.code-coverage-results span.line-num {
	color:#666;
	display:block;
	float:left;
	width:20px;
	text-align:right;
	margin-right:5px;
}
div.code-coverage-results span.line-num strong {
	color:#666;
}
div.code-coverage-results div.start {
	border:1px solid #aaa;
	border-width:1px 1px 0px 1px;
	margin-top:30px;
	padding-top:5px;
}
div.code-coverage-results div.end {
	border:1px solid #aaa;
	border-width:0px 1px 1px 1px;
	margin-bottom:30px;
	padding-bottom:5px;
}
div.code-coverage-results div.realstart {
	margin-top:0px;
}
div.code-coverage-results p.note {
	color:#bbb;
	padding:5px;
	margin:5px 0 10px;
	font-size:10px;
}
div.code-coverage-results span.result-bad {
	color: #a00;
}
div.code-coverage-results span.result-ok {
	color: #fa0;
}
div.code-coverage-results span.result-good {
	color: #0a0;
}
